<?php 
	$pindex	= (int)(strip_tags($params[0]));
	if($_SERVER["REQUEST_METHOD"]=="POST") {
		$p	= $_SESSION['p_order'] ? $_SESSION['p_order'] : array();
		unset($p[$pindex]);
		$_SESSION['p_order'] = $p;
		echo '';
		exit;
	}
	echo 'fail';
	exit;
?>